package com.example.crm01.service.form;

import com.alibaba.fastjson2.JSON;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
public class BaseIdForm {
    /**
     * 主键
     */
    @NotNull(message = "主键id不能为空")
    private Integer id;

    @Override
    public String toString (){
        return JSON.toJSONString(this);
    }

}
